package com.gw.service.impl;

import com.gw.bean.UserInfoBean;
import com.gw.dao.UserInfoBeanMapper;
import com.gw.service.IUserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service("userS")
public class UserServiceImpl implements IUserService {
    // 依赖注入dao层
    @Resource
    private UserInfoBeanMapper userInfoBeanMapper;

    @Override
    public List<UserInfoBean> query4Login(UserInfoBean record) {
        return userInfoBeanMapper.query4Login(record);
    }
    @Override
    public List<UserInfoBean> queryUserInfoByParams(UserInfoBean record) {
        return userInfoBeanMapper.queryUserInfoByParams(record);
    }
}

